#ifndef VALUE_TYPE_H
#define VALUE_TYPE_H

#include "coretypes.h"
#include "type.h"

class QVariant;

namespace core
{

class ValueType : public Type
{
public:
    virtual void setValue(const QVariant& value) = 0;
    virtual QVariant getValue() const = 0;

    virtual bool operator ==(const Type& type) const = 0;
    virtual bool operator !=(const Type& type) const = 0;
};

} // namespace core

#endif
